package com.ithe.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ithe.core.base.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * @author JinYu
 * @date 2022-09-02
 */
@Data
@TableName("gxa_user_employees")
public class Staff extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer age;

    private String gender;

    private String phone;

    private String address;

    private String cards;

    @TableField("physical_condition")
    private String physicalCondition;

    private String fraction;

    private String photo;

    @TableField("job_status")
    private Boolean jobStatus;

    private String job;

    @TableField("entry_time")
    private Date entryTime;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modified")
    private Date gmtModified;

}
